home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000249_JDanSkinner@JDanSkinner.com_Mon Jan 27 17:45:25 EST 2003.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
5KB
|
125 lines
Article: 14042 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Launching k95 2.1.3 in a pretty way
Date: 27 Jan 2003 12:30:43 -0800
Organization: http://groups.google.com/
Lines: 106
Message-ID: <8ce22d01.0301271230.7cb928ac@posting.google.com>
References: <8ce22d01.0301251014.5ea6982d@posting.google.com> <b0us61$cee$1@watsol.cc.columbia.edu> <8ce22d01.0301252028.2c1b59c1@posting.google.com> <3E33B86E.6020705@nyc.rr.com> <8ce22d01.0301261022.68ac1eca@posting.google.com>
NNTP-Posting-Host: 24.159.192.106
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1043699444 16623 127.0.0.1 (27 Jan 2003 20:30:44 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 27 Jan 2003 20:30:44 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14042
A final report on the k95 launch beautification project.
A little more tuning since the last report and now all of my launch
scripts are issued with the beautification functions.
Working from Jeff's inspiration and Franks original suggestion I
changed the launch
>from c:\---script.ksc
to c:\---k95g c:\---script.ksc --xpos:15 --ypos:15 --height:28\
--width:80 --minimized
This yields initial launch on the task bar only.
Then I added (please don't yell at me)
set gui window run restore
as the first uncommented line in K95.ini
Issued here because frame sizing/positioning statements issued while
minimized don't seem to have the expected affect, and doing it here
meant I only had to do it once. This causes the initial window to
leap out of the task bar to its final upper left anchored location.
I (grep)ed all the scripts for frame positioning statements and
removed them blindly. Most didn't have any.
I have 2 subscripts (been around for a while) which set frame size,
font and font size depending on the target. (Linux or SCO Openserver)
These are consistent with positioning above.
Now after leaping to its final position some changes occur as the
screen changes from control to terminal and final height, width, font,
size etc are set. These changes are not objectionable as they mark an
orderly march of progress from launch to completed connection.
Thanks again!
Regards...Dan.
JDanSkinner@JDanSkinner.com (Dan Skinner) wrote in message news:<8ce22d01.0301261022.68ac1eca@posting.google.com>...
> Frank, Jeff;
> As usual your advice is good and fast.
> I tried the minimize idea cause it sounded cool.
> It works but the final window does not POP open but
> grows open in a not to "pretty" way. There may be a solution but
> I went on to idea 2.
>
> Working from Jeff's inspiration I changed the launch
> from c:\---script.ksc
> to c:\---k95g c:\---script.ksc �-xpos:15 -�ypos:15
> 15/15 being the corner for the final frame.
> This met my original objective very well. Although the frame does
> resize
> A couple of times before the final size and font are established, the
> corner anchor and a pretty consistent header allow the changes to look
> like progress rather than disorder.
>
> Question: Without the �-xpos �-ypos the initial frame seems to open
> at
> A semi-random location. Is there some rhyme or reason?
>
> Thanks again for an outstanding product and great support.
>
> Regards�Dan.
>
>
>
>
>
> "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com> wrote in message news:<3E33B86E.6020705@nyc.rr.com>...
> > As I told Dan in private e-mail the reason the screen will change
> > dimensions is because the script contents do not match the defaults used
> > when starting k95g.
> >
> > k95g.exe <scriptfile> --height:HH --width:WW --fontname:<name>
> > --fontsize:<size>
> >
> >
> >
> > Dan Skinner wrote:
> > > fdc@columbia.edu (Frank da Cruz) wrote in message news:<b0us61$cee$1@watsol.cc.columbia.edu>...
> > >
> > >>In article <8ce22d01.0301251014.5ea6982d@posting.google.com>,
> > >>Dan Skinner <JDanSkinner@JDanSkinner.com> wrote:
> > >>: I connect to a number of remote and local systems using K95, some with
> > >>: dialup, others telnet, and some ssh. Each connection is supported by
> > >>: it's own script. With the change from 2.1.1 to 2.1.3, I've noticed a
> > >>: significant increase in the number of frame resizings from initial
> > >>: launch to the final sizing by the connection script. I'm wondering if
> > >>: there is a way to disguise these changes in order to present a
> > >>: somewhat more professional appearance to customers who are often
> > >>: watching over my shoulder.
> > >>:
> > >>One way might be to start it --minimize'd and the restore it at the
> > >>appropriate moment in your script with SET GUI WINDOW RUN-MODE RESTORE.
> > >>
> > >>- Frank
> > >
> > >
> > > Kool idea!
> > > I've been launching my scripts with file association.
> > > I don't really want to make the association launch minimized
> > > so I guess the launch should be:
> > > c:\---k95g --minimized (script)
> > > What should the (script) parameter be?
> > > ( I looked in help and docs but it didn't jump out at me.)
> > > Regards...Dan.